export interface TAddress {
	text: string
	cost: number
	value: string
	children?: TAddress[]
}

export type TFlag = 1 | 2

export default class TravelAddressManagementClass {
	activeNames = ["1"]
	showPopover = false
	addressLibrary = [] as TAddress[]
	nanoidLen = 6
	pullRefresh = false

	dialogInfo = {
		isShow: false,
		title: "",
		costName: "",
		popoverInfo: "",
		expense: {} as TAddress,
		flag: 1 as TFlag,
		data: {
			text: "",
			value: "",
			cost: 0,
		},
	}
}
